simultaneous equations using the elimination method